﻿//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using System.Threading.Tasks;
//using System.ComponentModel.DataAnnotations;
//using System.ComponentModel.DataAnnotations.Schema;
//using System.IO;

//namespace IniTechCaash.Domain.Entities
//{
//    /// <summary>
//    /// Source document that can be uploaded with a <see cref="JournalEntry"/>. 
//    /// </summary>
//    public class SourceDocument : Entity
//    {
//        /// <summary>
//        /// The <see cref="File"/> this <see cref="SourceDocument"/> represents. 
//        /// </summary>
//        [NotMapped]
//        public Stream File { get; set;  }

//        /// <summary>
//        /// The <see cref="JournalEntry"/> for which this <see cref="SourceDocument"/> is a source document. 
//        /// </summary>
//        [Required]
//        public virtual JournalEntry JournalEntry { get; set; }

//        /// <summary>
//        /// The friendly name of this file. 
//        /// </summary>
//        [StringLength(128)]
//        public string Name { get; set; }
//    }
//}
